{__NOLAYOUT__}
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="X-UA-Compatible" content="IE=Edge，chrome=1">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
	<title>收款信息</title>
	<link rel="stylesheet" href="__CDN__/assets/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="__CDN__/assets/css/detail3.css">
    <link rel="stylesheet" href="__CDN__/assets/css/lanrenzhijia.css">
	<script src="__CDN__/assets/libs/jquery/dist/jquery.min.js"></script>
	<script src="__CDN__/assets/libs/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="__CDN__/assets/js/detail.js"></script>

  <script type="text/javascript">
    function preview1(file) {
      var img = new Image(), url = img.src = URL.createObjectURL(file)
      var $img = $(img)
      img.onload = function() {
        URL.revokeObjectURL(url)
        // $('#preview').empty().append($img)
        $('#preview').find('img').remove().end().append($img)
       // $( "#preview" ).css( "background" ,"$img")
      }
    }
    function preview3(file) {
      var img = new Image(), url = img.src = URL.createObjectURL(file)
      var $img = $(img)
      img.onload = function() {
        URL.revokeObjectURL(url)
        // $('#preview2').empty().append($img)
        $('#preview2').find('img').remove().end().append($img)
       // $( "#preview" ).css( "background" ,"$img")
      }
    }
    function preview4(file) {
      var img = new Image(), url = img.src = URL.createObjectURL(file)
      var $img = $(img)
      img.onload = function() {
        URL.revokeObjectURL(url)
        // $('#preview3').empty().append($img)
        $('#preview3').find('img').remove().end().append($img)
       // $( "#preview" ).css( "background" ,"$img")
      }
    }
    function preview2(file) {
      var reader = new FileReader()
      reader.onload = function(e) {
        var $img = $('<img>').attr("src", e.target.result)
        // $('#preview').empty().append($img)
        $('#preview').find('img').remove().end().append($img)
      }
      reader.readAsDataURL(file)
    }
     
    $(function() {
      $('#file1').change(function(e) {
        var file = e.target.files[0]
        preview1(file)
      })
    })
   $(function() {
      $('#file2').change(function(e) {
        var file = e.target.files[0]
        preview3(file)
      })
    })
  $(function() {
      $('#file3').change(function(e) {
        var file = e.target.files[0]
        preview4(file)
      })
    })
  </script>

</head>
<body style="background-color: #FEFEFE;">
	<div class="attestation_heard">
			<div class="attestation_heard_return">
				<a href="javascript:history.back();"><img src="__CDN__/assets/img/bikebi/return.png"></a>
			</div>
			<div class="attestation_heard_title">
				<p>收款信息</p>
			</div>
	</div>
	<div class="attestation_form">

            <form method="post" action="" enctype="multipart/form-data">
       		<div class="attestation_form_up">
              <div class="attestation_form_up_one"> 支付宝账号<input type="text" name="alipay_account" value="{$user.alipay_account|default=''}"  placeholder=""></div>
              <div class="attestation_form_up_one"> 微信号<input type="text" name="wechat_account" value="{$user.wechat_account|default=''}"  placeholder=""></div>
            </div>
            <div class="attestation_form_down">
             <div class="attestation_form_down_up">收款码</div>
             <div class="attestation_form_down_img">
             <a href="#" class="a-upload" id="preview"> <input type="file" name="alipay_pic" id="file1"><img src="{$user.alipay_pic|default=''}" alt=""></a>
             <a href="#" class="a-upload" id="preview2"> <input type="file" name="wechat_pic" id="file2"><img src="{$user.wechat_pic|default=''}" alt=""></a>
             </div>
            <div class="attestation_form_down_p">
             <div class="attestation_form_down_p_one"><span>支付宝</span></div>
             <div class="attestation_form_down_p_one"><span>微信</span></div> 
             <input type="submit" name="" class="btn btn-defaul" value="提交" style="background-color: #4782DB;">
            </div>           
            </div>                    
            </form>
		
	</div>
</body>
</html>